package com.yyfax.pay.depository.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yyfax.pay.depository.domain.EnterprisePayment;

public interface EnterprisePaymentDao {
    /**
     *
     * @mbggenerated
     */
    int insert(EnterprisePayment record);

    /**
     *
     * @mbggenerated
     */
    List<EnterprisePayment> selectAll();

    EnterprisePayment selectByMerchantAndUserIdAndPaymentCode(@Param("merchantCode") String merchantCode, @Param("enterpriseUserId") String enterpriseUserId, @Param("paymentCode") String paymentCode);

    int update(EnterprisePayment enterprisePayment);
}